<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/top.css">
</head>
<body>
<div class="top">
    <div class="company">
        <div>
            <div><img src="${companyModel.logo}" height="141" width="204"/></div>
            <div class="phone">
                <div><img src="../img/icon2_03_uc2a.png" height="30" width="30"/></div>
                <div>${companyModel.phone}</div>
            </div>
        </div>
    </div>
    <div class="nav">
        <div>
            <c:forEach items="${navModels}" var="model" >
                <div onclick="window.location.href='${model.href}'">${model.title}</div>
            </c:forEach>

            <%--            <div onclick="window.location.href='${navModels[0].href}'">${navModels[0].title}</div>--%>
            <%--            <div onclick="window.location.href='company.html'">${navModels[1].title}</div>--%>
            <%--            <div onclick="window.location.href='news.html'">${navModels[2].title}</div>--%>
            <%--            <div onclick="window.location.href='product.html'">${navModels[3].title}</div>--%>
            <%--            <div onclick="window.location.href='online.html'">在线留言</div>--%>
            <%--            <div onclick="window.location.href='callus.html'">联系我们</div>--%>
        </div>
    </div>
    <div class="ad">
        <div>
            <div>品味生活.品味美食
            </div>
            <div>
                <div>一壶茶沏出了生活的醇美</div>
                <div>一枝花开出了生活的鲜艳</div>
                <div>一首诗吟出了生活的酸辛</div>
                <div> 一把火燃烧出了生活的激情</div>
                <div> 一枝笔绘出了人生的五彩缤纷</div>
                <div> 一首歌唱出了人生的喜怒哀惧</div>
                <div> 生活像五味瓶，这么酸、这么甜、这么苦、又这么辣</div>
            </div>
            <div>
                <div>
                    <span>品味</span><span>生活</span>
                    <span>品味</span><span>美食</span>
                </div>
                <div>星语餐饮给你生活指南</div>
            </div>
        </div>
    </div>
</div>
</body>
</html>